﻿package src.states{
	import flash.display.DisplayObjectContainer;
	import flash.display.Sprite;
	import flash.display.MovieClip;
	import flash.utils.getQualifiedClassName;
	
	public class GameState {
		protected var displayContent:DisplayObjectContainer;
		protected var gameStates:GameStatesMachine;
		
		public function GameState(displayContent:DisplayObjectContainer, gameStates:GameStatesMachine) {
			this.displayContent = displayContent;
			this.gameStates = gameStates;
		}
		
		public function getDisplay():DisplayObjectContainer {
			return displayContent;
		}
		
		public function init():void {trace("init " + flash.utils.getQualifiedClassName(this));}
		public function update():void {}
		public function dispose():void {trace("dispose " + flash.utils.getQualifiedClassName(this));}
		public function restart():void {trace("restart " + flash.utils.getQualifiedClassName(this));}
	}
	
}

